```
Feature: location_preferences
The location preferences allows a subscriber user to hide its location to others
Scenario: get default location preferences
Scenario: read an Updated location preference
Scenario: Last meet position should not appear in crossings
```
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 37 | 0 |
| Prerequest Scripts | 57 | 0 |
| Test Scripts | 64 | 0 |
| Assertions | 12 | 12 |
| Skipped Tests | 0 | - |
expected response to have status code 200 but got 403
Cannot destructure property `hide_location` of 'undefined' or 'null'.
expected response to have status code 200 but got 403
Cannot destructure property `hide_location` of 'undefined' or 'null'.
expected response to have status code 200 but got 403
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Cannot read property 'enable' of undefined
Cannot read property 'enable' of undefined
expected undefined to deeply equal null
expected undefined to deeply equal null
Cannot read property 'find' of undefined
data.find is not a function
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0683cb80-22cc-4b1b-a926-c6603a114e96 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:36 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 18664d44-2aeb-418f-b8e4-d7cb1bc4561e |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 326 |
{
"type": "CLIENT",
"login": "main.user_1611667656399A@example.com",
"password": "00000000",
"first_name": "Suggested stack A",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userA",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:37 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ba5d771c-af2b-4673-af02-bf1dc011d601 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667656399A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:38 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2ee560d3-518b-4ca5-93e1-cea00ed50522 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:38 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1909 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| users endpoint should return 200 when requestion location_preferences | 0 | 1 | 0 |
| hide_location should be false by default | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| users endpoint should return 200 when requestion location_preferences | |
| hide_location should be false by default | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5ace848f-2a7b-468c-a9d5-9bc41ff12a4f |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:39 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 616724b1-721a-468c-a03a-3e2d6bf921ed |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:40 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e01801e4-b8dc-4189-a1e3-24eba9f026d9 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 326 |
{
"type": "CLIENT",
"login": "main.user_1611667660979A@example.com",
"password": "00000000",
"first_name": "Suggested stack A",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userA",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:41 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 61b8ecc8-ae96-4292-a748-e5b170872621 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667660979A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:42 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a80f39e0-bcce-4a78-9100-c047e17693f3 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 70 |
{
"location_preferences" : {
"hide_location": true
}
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:43 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| users endpoint should return 200 when user update location_preferences | 0 | 1 | 0 |
| hide_location should be true after update | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| users endpoint should return 200 when user update location_preferences | |
| hide_location should be true after update | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de2b1774-0570-4109-a350-818efeef626d |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:44 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1816 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(69): Auth\\Service\\AuthService->checkAccessToken('')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->revokeTokenAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('revokeTokenActi...')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Revoke token should return 200 | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Revoke token should return 200 | |
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7a8dcdd4-1b55-487a-a944-92d675e2a910 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667660979A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:44 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3c1deb40-86f2-4c1d-b666-7bbbb349288a |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:45 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1909 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| hide_location preferences are persisted | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| hide_location preferences are persisted | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d45027c8-84cf-4cf8-bca4-496fd3668320 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:45 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5bc2ded1-76b8-48b2-9a17-f758cd3e3fae |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:46 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 36755381-60b2-4d23-872b-6a9a53bcb3a0 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 320 |
{
"type": "CLIENT",
"login": "main.user_1611667666963A@example.com",
"password": "00000000",
"first_name": "Main user A",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userA",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:47 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e43291f6-eefe-4963-b38d-0de95669bf6b |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667666963A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:48 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 87fdd338-ef66-493c-97c6-a35c9bf92158 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:48 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1913 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User should be eligible to Suggested stack | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User should be eligible to Suggested stack | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f001627-1ad1-479a-919a-8a5111f7b071 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 72 |
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:49 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/x-www-form-urlencoded |
| Authorization | OAuth="null" |
| User-Agent | happn/2300 CFNetwork/897.15 Darwin/18.7.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d73837ce-2117-448c-b66b-d89cf1b782d6 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F24.jpg"}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:49 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4f17fbcd-177e-4cd1-b9cd-c3c61ba0b74e |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 233 |
{
"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:49 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 662e07ad-dcf3-4c1f-bbe7-49282b2820c7 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 42 |
{
"type": "ios",
"app_build": "9999"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:51 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1922 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| X-Happn-DID | null |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 89f573dd-fcf9-4430-93be-054f743fff50 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 99 |
{
"latitude": 65.49193136208638,
"longitude": -24.846669550067332,
"country_id": "FR"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1924 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e1a3629f-23d1-4d51-afa0-6dc0b6e610b9 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:54 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c6f8214e-4132-4788-b8ab-9e9a02d80662 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 317 |
{
"type": "CLIENT",
"login": "crossing1611667675359B@example.com",
"password": "00000000",
"first_name": "Crossing B",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userB",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:55 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e2d7212a-0a28-4a20-a506-56f26271da74 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 225 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"crossing1611667675359B@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:56 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7cca82a9-3f17-4b4d-abb5-e30cee641670 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:56 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1913 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User should be eligible to Suggested stack | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User should be eligible to Suggested stack | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 654b4bbe-d750-47bd-bef8-16d45b8569c3 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 118 |
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18},"location_preferences":{"hide_location":true}}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:58 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/x-www-form-urlencoded |
| Authorization | OAuth="null" |
| User-Agent | happn/2300 CFNetwork/897.15 Darwin/18.7.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 91513792-747e-4684-a77b-3e28e9d39fe8 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 84 |
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F53.jpg"}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:59 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d7da30d6-29b8-4186-91a4-e4d0164adf22 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 233 |
{
"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:00 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dd0eb05d-2f8c-47a3-b446-bacb6bba9183 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 42 |
{
"type": "ios",
"app_build": "9999"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:01 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1922 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| X-Happn-DID | null |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 31cc458c-182b-4c43-b667-8a3e57478cab |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 99 |
{
"latitude": 65.49193136208638,
"longitude": -24.846669550067332,
"country_id": "FR"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:02 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1924 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| X-HAPPN-DID | null |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | feb1adff-13b2-4c89-83b7-edad1e764881 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:04 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1909 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| last_meet_position should be null when user B activated hide_location | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| last_meet_position should be null when user B activated hide_location | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| X-HAPPN-DID | null |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5ad80a81-833c-48da-8306-f4e5a2820bef |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:06 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1909 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| last_meet_position should be null when user B activated hide_location | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| last_meet_position should be null when user B activated hide_location | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| X-Happn-DID | null |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 972f3637-998a-4aac-bf8b-63a9299aa388 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:28:11 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User B should be in user A recommendation with no position | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User B should be in user A recommendation with no position | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| X-Happn-DID | null |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 370b165d-40e8-4f84-bd5c-7681a960b8f0 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:28:11 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1926 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserCrossingsController.php(8): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserCrossingsController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User B should be in user A crossings | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User B should be in user A crossings | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d70dc437-9dc2-41ec-9b96-e7aad7838785 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:28:12 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67270635-b2bb-416b-8d03-29e0b8aec6ee |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:28:12 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}